import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)


import Article from '../components/Article'
import Articlelist from '../components/Articlelist'
/* eslint-disable no-new */
export default new Router({
    routes: [{
        path: '/articlelist',
        name: 'articlelist',
        component: Articlelist
    }, {
        path: '/article/:id',
        name: 'article',
        component: Article
    }]
})
